<template>
	<view>
		1
		<!-- 底部导航栏 -->
		<view class="bottom">
			<u-tabbar :value="value1" :fixed="true" :placeholder="false" :safeAreaInsetBottom="false">
				<u-tabbar-item text="首页" icon="home" @click="click1"></u-tabbar-item>
				<u-tabbar-item text="分类" icon="grid" @click="goClassify"></u-tabbar-item>
				<u-tabbar-item text="购物车" icon="shopping-cart" @click="goCart"></u-tabbar-item>
				<u-tabbar-item text="我的" icon="account" @click="goMine"></u-tabbar-item>
			</u-tabbar>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			goClassify() {
				uni.navigateTo({
					url: "/pages/classify/classify"
				})
			}
		}
	}
</script>

<style>

</style>